Skip to the content.

//[](../../../index.html)/[pro.streem.sdk](../index.html)/[Streem](index.html)/[startStreemActivityForInvitation](start-streem-activity-for-invitation.html)

startStreemActivityForInvitation

[androidJvm]\

@MainThread

abstract fun startStreemActivityForInvitation(invitationCode: String, currentActivity: Activity, localParticipantSessionConfig: Streem.SessionConfig)


Deprecated

As of v0.12.0, please use new login(invitationCode, isExpert, resultCallback) and use returned invitation to start Streem with registerForActivityResult(StartStreemFromInvitation())


Opens or joins a room with the current invitation in a new full-screen Activity.

Parameters

androidJvm

   
invitationCode the invitation code to use
currentActivity this Activity’s onActivityResult method will be called with the room’s exit code.
localParticipantSessionConfig the SessionConfig of the local user

[androidJvm]\

@MainThread

abstract fun startStreemActivityForInvitation(invitationCode: String, currentFragment: Fragment, localParticipantSessionConfig: Streem.SessionConfig)


Deprecated

As of v0.12.0, please use new login(invitationCode, isExpert, resultCallback) and use returned invitation to start Streem with registerForActivityResult(StartStreemFromInvitation())


Opens or joins a room with an invitation code in a new full-screen Activity.

Parameters

androidJvm

   
invitationCode the invitation code to use
currentFragment this Fragment’s onActivityResult method will be called with the room’s exit code.
localParticipantSessionConfig the SessionConfig of the local user